
using System.ComponentModel.DataAnnotations.Schema;

namespace JTZY.Model.Financial
{
    /// <summary>
    /// 提现记录
    /// </summary>
    [SugarTable("corecmsusertocash")]
    public class Corecmsusertocash
    {
        /// <summary>
        /// id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 用户ID 
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 提现金额 
        /// </summary>
        public decimal Money { get; set; }

        /// <summary>
        /// 银行名称 
        /// </summary>
        public string BankName { get; set; }

        /// <summary>
        /// 银行缩写 
        /// </summary>
        public string BankCode { get; set; }

        /// <summary>
        /// 账号地区ID 
        /// </summary>
        public int? BankAreaId { get; set; }

        /// <summary>
        /// 开户行 
        /// </summary>
        public string AccountBank { get; set; }

        /// <summary>
        /// 账户名 
        /// </summary>
        public string AccountName { get; set; }

        /// <summary>
        /// 卡号 
        /// </summary>
        public string CardNumber { get; set; }

        /// <summary>
        /// 提现服务费 
        /// </summary>
        public decimal Withdrawals { get; set; }

        /// <summary>
        /// 提现状态 
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 提现时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 提现方式 
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 反馈结果 
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 营业执照 
        /// </summary>
        public string AccountLicense { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        public string Memo { get; set; }

        /// <summary>
        /// 打款时间 
        /// </summary>
        public DateTime? PaymentTime { get; set; }

        /// <summary>
        /// 打款凭证 
        /// </summary>
        public string PaymentVoucher { get; set; }
        /// <summary>
        /// 当前余额
        /// </summary>
        public decimal Balance { get; set; } = 0;
    }
}